<template>
	<div class="base-content">
		<el-button @click="test">test</el-button>

		<el-tabs v-model="activeName" style="margin-top: 20px;" :closable="true">
			<el-tab-pane key="1" name="1">
				<template v-slot:label>
					<span style="color: inherit;">111</span>
				</template>
			</el-tab-pane>
			<el-tab-pane key="2" name="2">
				<template v-slot:label>
					<span style="color: inherit;">222</span>
				</template>
			</el-tab-pane>
		</el-tabs>
	</div>
</template>
<script setup lang="ts">
import { ElNotification } from 'element-plus'
const activeName = ''
const test = () => {
	ElNotification({
		title: 'Prompt',
		message: 'This is a message that does not automatically close',
		duration: 0,
	})
}
</script>
